package com.geely;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@ComponentScan(basePackages = {"com.geely.*","org.n3r.idworker"})  //指定扫描包路径
@EnableSwagger2
@EnableSwaggerBootstrapUI
public class ProviderApplication {

    public static void main(String[] args) {

        SpringApplication.run(ProviderApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  供应商管理系统   ლ(´ڡ`ლ)ﾞ  \n" );

    }

}
